package com.cn.serverline.lineicp.workshopPlan.enums;

import lombok.Getter;

/**
 * 计划常用状态枚举
 * @author      pty
 * @version     1.2
 * @since       2024-03-14
 */
@Getter
public enum ImportDistributeEnum {
    //未下发
    NOT_DISTRIBUTE("未下发",0L),
    //已下发
    STOP_DISTRIBUTE("已下发",1L),
    //完备
    COMPLETE("完备",0L),
    //缺件
    MISSING_PARTS("缺件",1L),
    //未生成
    NOT_GENERATED("未生成",0L),
    //已生成
    STOP_GENERATED("已生成",1L),
    //导入的计划类别 0和A
    CATEGORY_0("0",1L),
    CATEGORY_A("A",2L),
    //未完成
    NOT_COMPLETE("未完成",0L),
    //已完成
    STOP_COMPLETE("已完成",1L),
    //未默认
    NOT_DEFAULT("未默认",0L),
    //默认
    STOP_DEFAULT("默认",1L);
    /**
     * 状态
     */
    private final String errorCode;

    /**
     * 状态值
     */
    private final Long state;

    ImportDistributeEnum(String errorCode, Long state) {
        this.errorCode = errorCode;
        this.state = state;
    }
}
